package com.sky.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SweetSomethingTodoVO implements Serializable {
    private Integer todoId;
    /**
     * 关联的 Love Nest ID
     */
    private Integer nestId;
    /**
     * 标题
     */
    private String title;
    /**
     * 描述
     */
    private String description;
    /**
     * 图片URL
     */
    private String image;
    /**
     * 地点
     */
    private String location;
    /**
     * 状态：0-未完成，1-已完成
     */
    private Integer status;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private Date createdTime;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private Date updateTime;
    /**
     * 是否删除：0-未删除，1-已删除
     */
    private Integer deleted;
}